Why did Romania switch sides